<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>客户管理</title>
    <link rel="stylesheet" type="text/css" href="/plugins/font-awesome-4.7.0/css/font-awesome.css">
    <link rel="stylesheet" href="/plugins/layui/css/layui.css" media="all">
    <script type="text/javascript" src="/common/jquery-2.1.1.js"></script>
    <script type="text/javascript" src="/common/jquery.json-2.4.js"></script>
    <script src="/plugins/layui/layui.js"></script>
    <script src="/common/js/urlParam.js"></script>
</head>
<style>
    .title-cust-ui {
        position: relative;
        height: 42px;
        line-height: 42px;
        padding: 0 10px 0px 0px;
        color: #333;
        background-color: #f2f2f2;
        font-size: 15px;
        overflow: hidden;
    }
</style>
<body class="layui-layout-bodybody">
<div id="layerBtn" style="margin-top: 30px">
    <button class="layui-btn " data-method="addPerson"><i class="layui-icon">&#xe654;</i>添加</button>
    <button class="layui-btn " data-method="bacthAdd"><i class="layui-icon">&#xe654;</i>批量添加</button>
    <button class="layui-btn " data-method="bacthExport"><i class="layui-icon">&#xe609;</i>导出</button>
</div>
<div id="SearchBtn" class="layui-row" style="margin-top: 20px">
    <div class="layui-form">
        <div class="title-cust-ui"><span style="margin-left: 10px">搜索条件</span></div>
         <div class="layui-row layui-form-item" style="margin-top: 20px">
            <div class=" layui-col-md4">
                <label class="layui-form-label">客户姓名</label>
                <div class="layui-input-block">
                    <input id="custName" type="text" name="cst.custname"  placeholder="请输入姓名" class="layui-input" maxlength="20" >
                </div>
            </div>
            <div class=" layui-col-md4">
               <!-- <label class="layui-form-label">证件号码</label>2019-10-9 08:33:56 需求变更 客户要求把身份证变成工号-->
                <label class="layui-form-label">工号</label>
                <div class="layui-input-block">
                   <!-- <input id="certNo" type="text" name="cst.certno" placeholder="请输入身份证号码" class="layui-input" maxlength="19">-->
                    <input id="certNo" type="text" name="cst.certno" placeholder="请输入员工工号" class="layui-input" maxlength="19">
                </div>
            </div>
            <div class=" layui-col-md4">
                <label class="layui-form-label">部门</label>
                <div class="layui-input-block">
                    <!--<select id="custDept" class="layui-input"name="dept.deptmentname"></select>-->
                    <input id="custDept1" name="custDept1" readonly lay-verify="required" data-method="selectDept" class="layui-input" placeholder="请点击选择部门">
                    <input id="custDept" name="dept.deptmentname"  lay-verify="required"  class="layui-input" placeholder="请点击选择部门" style="display:none">
                </div>
            </div>
        </div>
        <div class="layui-row">
            <div class=" layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label">职位</label>
                    <div class="layui-input-block">
                        <select id="custPost" class="layui-input"name="cst.positionname">
                        </select>
                    </div>
                </div>
            </div>
            <div class="layui-col-md4">
                <div class="layui-form-item">
                    <label class="layui-form-label">客户等级</label>
                    <div class="layui-input-block">
                        <select id="custLevel"class="layui-input" name="cst.custlevelname">
                        </select>
                    </div>
                </div>
            </div>
            <div class="layui-col-md4" style="text-align: center;margin-top: 5px">
                <div id="BtnGroup">
                    <button id="searchButton" class="layui-btn layui-btn-sm" data-method="QueryInfo" ><i class="layui-icon">&#xe615;</i>查询</button>
                    <button id='resetButton'class="layui-btn layui-btn-sm" data-method="ResetText"><i class="layui-icon">&#xe669;</i>重置</button>
                </div>
            </div>
        </div>
        <br>
    </div>
</div>
<div class="layui-table" style="margin-top: -10px">
    <div class="title-cust-ui"><span style="margin-left: 10px">客户信息列表</span></div>
    <table class="layui-table" id="custinfo" lay-filter="f-custinfo" style="margin-top: -10px"></table>
</div>
<script type="text/html" id="barCustmodify">
    <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="detail" title='查询'><i class="layui-icon">&#xe615;</i></a>
    <a class="layui-btn layui-btn-xs" lay-event="edit"><i class="layui-icon" title='编辑'>&#xe642;</i></a>
</script>
</body>
</html>